{% extends "layout.html" %}
{% block page_title %}Edit Address {% endblock %}

{% block content %}
<p> Editing address of {{ contact }} </p>
<form method="POST" >
    {% csrf_token %}
    {{ form.management_form }}
    {% for address_form in form %}
    <ul>
        {{ address_form.as_ul }}
    </ul>
    {% endfor %}
    <input type="submit" value="Save Address" />
    
</form>

{% endblock %}
